import { S } from '../../s';
import { IPSAppView } from '../../app/view/ipsapp-view';
import { IPSDEMultiEditViewPanel } from './ipsdemulti-edit-view-panel';
import { PSDEGridImpl } from './psdegrid-impl';

export class PSDEMultiEditViewPanelImpl
  extends PSDEGridImpl
  implements IPSDEMultiEditViewPanel
{
  protected embeddedpsappview: IPSAppView;
  getEmbeddedPSAppView(): IPSAppView | null {
    return (
      this.embeddedpsappview ||
      (this.embeddedpsappview = this.fillObjectModel(
        S._1e,
        this.M.getEmbeddedPSAppView,
        S._358,
      ) as IPSAppView)
    );
  }

  get panelStyle(): string {
    return this.M.panelStyle;
  }
  get cls(): string {
    return 'PSDEMultiEditViewPanelImpl';
  }
  instanceof(cls: string): boolean {
    if (cls == S._24e) return true;
    return super.instanceof(cls);
  }
}
